package bridg_mode

type ShapeCircle struct {
	Radius  int
	X       int
	Y       int
	DrawAPI DrawAPI
}

func NewShapeCircle(radius, x, y int, drawAPI DrawAPI) *ShapeCircle {
	return &ShapeCircle{
		Radius:  radius,
		X:       x,
		Y:       y,
		DrawAPI: drawAPI,
	}
}

func (sc *ShapeCircle) Draw() {
	sc.DrawAPI.DrawCircle(sc.Radius, sc.X, sc.Y)
}
